Ethereumico\Epg\Gateway D

Total Complexity 278
Dependencies 18
Dependents 3
Total lines 2,516
Lines of code 1,896
Logical lines of code 847
Comment lines 313
Methods 51
Properties 0

Methods 51

Method Rating Maintainability Complexity Lines of code
check_tx_status()
D
16
49 296
thank_you_page()
D
17
32 272
admin_enqueue_scripts()
D
19
27 261
init_form_fields()
B
23
3 282
process_payment()
A
39 15 60
get_tx_confirmations_number()
A
44 13 46
rate_source_create_filter()
A
45 9 49
getTokenRate()
A
47 10 33
payment_fields()
A
45 8 42
get_icon()
S
52 6 24
getEthValueByOrderId()
S
61 6 11
getEthRateByOrderId()
S
61 6 11
getPaymentInfo()
S
54 5 25
checkout_order_processed_handler()
S
52 5 22
get_block_number()
S
54 5 22
__construct()
S
43 3 50
get_token2wcproduct()
S
55 5 19
double_int_multiply()
S
50 4 28
verify_api_connection()
S
53 4 22
call_gateway_method()
S
48 3 35
complete_order()
S
54 3 22
complete_order_internal()
S
54 3 22
get_token_decimals()
S
53 3 21
rate_sources_list_filter()
S
60 3 15
getWeb3WSSEndpoint()
S
60 3 14
enqueue_complete_order_task()
S
59 3 13
get_token_icon()
S
60 3 13
validate_enabled_field()
S
60 3 13
cancel_complete_order_task()
S
61 3 11
admin_options()
S
53 2 24
get_setting_()
S
77 3 3
before_delete_post_handler()
S
65 3 10
check_gateway_class()
S
67 3 7
handling_custom_meta_query_keys()
S
64 2 10
order_on_hold_handler()
S
72 2 6
order_cancelled_handler()
S
72 2 6
getWeb3Endpoint()
S
64 2 10
get_tokens_supported()
S
60 1 13
get_rate_sources_()
S
73 1 4
get_ether_icon()
S
72 1 5
validate_fields()
S
82 1 3
apply_markup()
S
70 1 5
apply_markup_token()
S
67 1 7
getAddressSite16()
S
80 1 3
register_plugin_styles()
S
91 1 2
getMarketAddress()
S
80 1 3
getOrderExpiredTimeout()
S
77 1 3
getBlockchainNetwork()
S
79 1 3
getTokenRate_from_API()
S
67 1 9
getGatewayContractAddress()
S
79 1 3
log()
S
79 1 3